package com.yunji.cabinet.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yunji.common.annotation.Excel;
import com.yunji.common.base.BaseDelFlagDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.cabinet.domain
 * @Title: CabinetVersion
 * @Description: TODO:
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-07-01 10:33:43      V1.0        HuaAo       新建类
 */
@EqualsAndHashCode(callSuper = true)
@TableName("t_upgrade_file")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UpgradeFileDO extends BaseDelFlagDO {

    @ApiModelProperty("文件ID")
    @Excel(name = "文件ID")
    @TableId(type = IdType.AUTO)
    private Long fileId;

    @ApiModelProperty("文件名称")
    @Excel(name = "文件名称")
    private String fileName;

    @ApiModelProperty("文件编码")
    @Excel(name = "文件编码")
    private String fileCode;

    @ApiModelProperty("厂商品牌")
    @Excel(name = "厂商品牌")
    private String factoryBrand;

    @ApiModelProperty("机型")
    @Excel(name = "机型")
    private String modelType;

    @ApiModelProperty("芯片版本")
    @Excel(name = "芯片版本")
    private String chipType;

    @ApiModelProperty("版本号")
    @Excel(name = "版本号")
    private String version;

    @ApiModelProperty("安装包")
    private byte[] pack;

    @ApiModelProperty("安装包大小")
    @Excel(name = "安装包大小")
    private String packSize;


}